package net.jxvtc.lesson01.lesson05;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Component;

/**
 * @author Administrator
 */
@Profile("dev")
@Component
public class DevInfo implements IServerInfo {
    /**
     * 用于显示输出项目运行环境信息
     *
     * @return 显示项目运行环境信息
     */
    @Override
    public String showInfo() {
        return "当前环境为开发环境，开发环境配置如下：.....";
    }
}
